--- Makefile.in.orig	Tue Nov 28 13:35:37 2006
+++ Makefile.in	Thu Mar 26 22:14:15 2009
@@ -11,7 +11,7 @@ CFLAGS=@CFLAGS@ -D@OS@ @DEFS@ @EXTRA_DEFINES@ 
 INCLUDES=-I@srcdir@ @PCAP_INCLUDE@ @EXTRA_INCLUDES@
 
 LDFLAGS=@LDFLAGS@ @PCAP_LINK@
-LIBS=-lpcap @EXTRA_LIBS@ 
+LIBS=@LIBS@ @EXTRA_LIBS@ 
 
 STRIPFLAG=@STRIPFLAG@
 
@@ -25,14 +25,14 @@ exec_prefix = @exec_prefix@
 
 bindir      = $(prefix)/bin
 datadir     = $(prefix)/share
-mandir      = $(datadir)/man
+mandir      = $(prefix)/man
 
-BINDIR_INSTALL = $(prefix)/bin
+BINDIR_INSTALL = $(prefix)/sbin
 MANDIR_INSTALL = $(mandir)/man8
 
 INSTALL = ./install-sh
 
-REGEX_DIR=@REGEX_DIR@
+#REGEX_DIR=@REGEX_DIR@
 REGEX_OBJS=@REGEX_OBJS@
 
 
@@ -55,15 +55,15 @@ install: $(TARGET)
 	$(CC) $(CFLAGS) $(INCLUDES) -g -c $<
 
 clean:
-	make -C $(REGEX_DIR) clean
+	#make -C $(REGEX_DIR) clean
 	rm -f *~ $(OBJS) $(REGEX_OBJS) $(TARGET) $(TARGET).static
 
 distclean: clean 
-	make -C $(REGEX_DIR) distclean
+	#make -C $(REGEX_DIR) distclean
 	rm -f config.status config.cache config.log config.h Makefile 
 
-$(REGEX_OBJS): $(REGEX_OBJS:.o=.c) $(REGEX_DIR)/*.h
-	$(MAKE) $(MAKEFLAGS) -C $(REGEX_DIR) $(notdir $(REGEX_OBJS))
+#$(REGEX_OBJS): $(REGEX_OBJS:.o=.c) $(REGEX_DIR)/*.h
+#	$(MAKE) $(MAKEFLAGS) -C $(REGEX_DIR) $(notdir $(REGEX_OBJS))
 
 $(OBJS): Makefile ngrep.c ngrep.h
 
